
<div style="width:1024px; MARGIN-RIGHT: auto; MARGIN-LEFT: auto;">

    <div class="login-form" style="">

    <form method="post" action="./index.php?m=Home&c=Match&a=createMatch">

    <table width="100%">

    <tr>
        <td style="width:200px;">
            <div class="form-group"><span>名称</span></div>
        </td>
        <td>
            <div class="form-group">
                <input type="text" class="form-control login-field" value="{$match.name}" id="match-name" name ="name" >
            </div>
        </td>
    </tr>

    <tr>
        <td style="width:200px;">
            <div class="form-group"><span>时间</span></div>
        </td>
        <td>
            <div class="form-group">
                <input type="text" class="form-control login-field" value="{$match.match_time}" id="match-name" name ="match_time" >
            </div>
        </td>
    </tr>

    <tr>
        <td style="width:200px;">
            <div class="form-group"><span>场地</span></div>
        </td>
        <td>
            <div class="form-group">
                <input type="text" class="form-control login-field" value="{$match.court_name}" id="match-name" name ="court_name" >
            </div>
        </td>
    </tr>

    <tr>
        <td style="width:200px;">
            <div class="form-group"><span>客队</span></div>
        </td>
        <td>
            <div class="form-group" style="float: left; margin-right:20px;">
                <select name="away_team_id" value="" class="select-block">
<volist name="awayTeams" id="awayTeam">
                    <option value="{$awayTeam.team_id}">{$awayTeam.name}</option>
</volist>
                </select>
            </div>
        </td>
    </tr>


    <tr>
        <td colspan=2>
            <div class="form-group">
                <input type="hidden" name="home_team_id" value="{$teamPlayer.team_id}" />
                <input type="hidden" name="create_player_id" value="{$teamPlayer.player_id}" />

                <input class="btn btn-primary btn-lg btn-block signup" type="submit" value="保存" />
            </div>
        </td>
    </tr>

    </table>

    </form>

    </div>

</div>

<script type="text/javascript" src="./Public/datetimepicker/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="./Public/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
    $('.form_datetime').datetimepicker({
        language:  'zh-CN',
        weekStart: 1,
        todayBtn:  1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1
    });

</script>